package cn.itsource.blog.service;

import cn.itsource.blog.domain.ArticleType;
import cn.itsource.query.BaseQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleTypeService {

    PageInfo<ArticleType> pageInfo(BaseQuery baseQuery);

    void save(ArticleType articleType);

    void delete(Long id);

    void batchDelete(List<ArticleType> types);

    List<ArticleType> treeTypes();
}
